Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#100055 - 18/06/2002 09:57 CharcoalGray's XML Page: "sock accept failed"?
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I'm running Hijack 276.

- When I am connected to the player via the serial port with Hyperterminal, and

- I have CharcoalGray99's XML page open on the player via ethernet at the same time, and

- The page is doing the "auto refresh" trick to update the player display on the XML page...

Sometimes I will see the following message on the serial terminal:

khttpd: sock_accept: accept() failed, rc=-104

This seems to coincide with a missed screen update on the XML page.

Does this indicate a problem, or is this normal for the XML page?

Note, I have noticed this on two different computers, one running IE6 and one running IE5.5.
_________________________
Tony Fabris

Top
#100056 - 18/06/2002 10:03 Re: CharcoalGray's XML Page: "sock accept failed"? [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
khttpd: sock_accept: accept() failed, rc=-104

What's your refresh interval set at?

Result code 104 is ECONNRESET which is "Connecion Reset by Peer." Based on that, it looks to me like your refresh interval is probably set pretty low, and the khttpd is sending its output, but the refresh interval is hit and the browser closes the connection and reopens another one to refresh. Try increasing the refresh interval and see if that helps.

Not sure what Hyperterminal would have to do with this scenario, though.
_________________________
- Tony C
my empeg stuff

Top
#100057 - 18/06/2002 10:06 Re: CharcoalGray's XML Page: "sock accept failed"? [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I believe the refresh interval is set to the default that the XML page comes with. I haven't changed it from the defaults since the last time I re-installed the pages from scratch.
_________________________
Tony Fabris

Top
#100058 - 18/06/2002 10:07 Re: CharcoalGray's XML Page: "sock accept failed"? [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Hrm well I could be off on my analysis, but the result code does indicate the TCP connection is being broken by the browser.
_________________________
- Tony C
my empeg stuff

Top
#100059 - 18/06/2002 10:10 Re: CharcoalGray's XML Page: "sock accept failed"? [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Oh, I think your analysis is correct, I'm just wondering if this is normal. Anyone else get this?
_________________________
Tony Fabris

Top
#100060 - 28/06/2002 10:47 Re: CharcoalGray's XML Page: "sock accept failed"? [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
I saw that result code during khttpd development/testing, and eventually concluded that it must be due to the browser giving up on a refresh attempt, closing the connection, and then retrying the refresh.

This will happen whenever the player does not respond to the player before the player asks for the NEXT refresh, which can happen if the player is busy with disk access.

To test this theory, do a full-collection shuffle/unshuffle while running the browser thingie.. should see lots of those messages.

Cheers

Top